//
//  Word.m
//  EnglishStudyApp
//
//  Created by Nong Trung Nghia on 10/18/12.
//  Copyright (c) 2012 abc. All rights reserved.
//

#import "ESWord.h"

@implementation ESWord
@synthesize imageName;
@synthesize vnDescription;
@synthesize enDescription;
@synthesize textSound;
@synthesize imageSound;
@synthesize isLock;

+(ESWord*)wordFromDictionary:(NSDictionary*)dic{
    ESWord *word=[[ESWord alloc] init];
    for (NSString *key in [dic allKeys]) {
        [word setValue:[dic valueForKey:key] forKey:key];
    }
    return word;
}
@end
